package com.guimin.common.util;

/**
 * 结果代码
 */
public enum ResultCode {
    /**
     * 结果代码
     */
    R9000("9000","成功"),
    R9001("9001","失败"),
    R9002("9002","重复请求"),
    R9004("9004","参数不完整"),
    R9005("9005","接口未授权"),
    R9006("9006","接口处理中"),
    R9007("9007","流水号不存在"),
    R9008("9008","IP不合法"),
    R9009("9009","接口访问频繁"),
    R9100("9100","开户认证中"),
    R9101("9101","开户认证失败"),
    R9102("9102","重复开户"),
    R9103("9103","证件信息错误"),
    R9120("9120","银行卡认证中"),
    R9121("9121","银行卡认证失败"),
    R9122("9122","卡号重复绑定"),
    R9125("9125","交易密码错误"),
    R9200("9200","金额超出限制"),
    R9501("9501","部分订单传入失败");
    public String value;
    public String message;
    ResultCode(String value, String message) {
        this.value=value;
        this.message=message;
    }
    @Override
    public String toString() {
        return this.value;
    }
}
